package mammuthus.web.service

import net.csdn.common.path.Url

/**
 * 5/28/15 WilliamZhu(allwefantasy@gmail.com)
 */
trait DockerHostConfigure {
  this: SlaveService =>

  def configureNetwork(urlQuery: String) = {
    val url = s"${masterUrl}/docker/network/configure?${authTokenStr}$urlQuery"
    httpClient.get(new Url(url)).getContent
  }

}
